import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../framework/Home')
  },
  {
    path: '/ComDemo',
    name: 'ComDemo',
    component: () => import('../framework/ComDemo')
  },
  {
    path: '/PageOuter',
    name: 'PageOuter',
    component: () => import('../framework/PageOuter'),
  },
];

const router = new VueRouter({
  routes
});

export default router;
